<?php
/**
 * Created by PhpStorm.
 * User: meiyun1
 * Date: 2017/3/9
 * Time: 上午11:28
 */

namespace App\Providers\Repositories;

use App\Contracts\Repositories\ActivityPrizeRepository;
use Illuminate\Support\ServiceProvider;

class ActivityPrizeServiceProvider extends ServiceProvider
{
    protected $defer = true;

    public function boot()
    {
        //
    }

    /**
     * Register any application services.
     *
     * @return void
     */
    public function register()
    {
        $this->app->singleton(
            ActivityPrizeRepository::class,
            \App\Models\ActivityPrize\ActivityPrizeRepository::class
        );
    }

    /**
     * Get the services provided by the provider.
     *
     * @return array
     */
    public function provides()
    {
        return [
            ActivityPrizeRepository::class,
        ];
    }
}
